package club.lovety.code;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication(exclude ={DataSourceAutoConfiguration.class} )
@ComponentScan("club.lovety")
public class ApplicationService {

    private static final Logger log = LoggerFactory.getLogger(ApplicationService.class);

    public static void main( String[] args ) {
        log.info("开始启动springboot源码分析");
        SpringApplication.run(ApplicationService.class,args);
        log.info("启动springboot源码分析成功");

    }
}
